package com.relation.action;

import com.relation.domain.Recommendation;
import com.relation.domain.Resource;

public class PreviewAction extends ActionBase{

	private Recommendation rec;
	
	public String execute()
	{
		rec = new Recommendation();
		Resource backgroundPic = new Resource();
		backgroundPic.setUrl("abc.gif");
		rec.setBackgroundPic(backgroundPic);
		return SUCCESS;
	}

	public void setRec(Recommendation rec) {
		this.rec = rec;
	}

	public Recommendation getRec() {
		return rec;
	}
	
}
